package springboot.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import springboot.doMain.WxGroup;

import java.util.List;

@Mapper
@Repository
public interface WxGroupDao {
	int deleteByPrimaryKey(Long id);
	
	/*获取总群数*/
	int selAllGroupCnt();
	
	int insert(WxGroup record);
	
	int insertSelective(WxGroup record);
	
	WxGroup selWxGroupByChatId(WxGroup wxGroup);
	
	int updateWxGroup(WxGroup wxGroup);
	
	List<WxGroup> selAllWxGroup();
	
	int updateByPrimaryKey(WxGroup record);
}
